Chi-square test
- "Chi-square test" is often shorthand for Pearson's chi-square test.
A chi-square test (also chi-squared or
test) is any statistical hypothesis test in which the sampling distribution of the test statistic is a chi-square distribution when the null hypothesis is true, or any in which this is asymptotically true, meaning that the sampling distribution (if the null hypothesis is true) can be made to approximate a chi-square distribution as closely as desired by making the sample size large enough.
Some examples of chi-squared tests where the chi-square distribution is only approximately valid:
- Pearson's chi-square test, also known as the chi-square goodness-of-fit test or chi-square test for independence. When mentioned without any modifiers or without other precluding context, this test is usually understood (for an exact test used in place of
, see Fisher's exact test).
- Yates' chi-square test, also known as Yates' correction for continuity.
- Mantel–Haenszel chi-square test.
- Linear-by-linear association chi-square test.
- The portmanteau test in time-series analysis, testing for the presence of autocorrelation
- Likelihood-ratio tests in general statistical modelling, for testing whether there is evidence of the need to move from a simple model to a more complicated one (where the simple model is nested within the complicated one).
One case where the distribution of the test statistic is an exact chi-square distribution is the test that the variance of a normally-distributed population has a given value based on a sample variance. Such a test is uncommon in practice because values of variances to test against are seldom known exactly.
Chi-square test for variance in a normal population
If a sample of size n is taken from a population having a normal distribution, then there is a well-known result (see distribution of the sample variance) which allows a test to be made of whether the variance of the population has a pre-determined value. For example, a manufacturing process might have been in stable condition for a long period, allowing a value for the variance to be determined essentially without error. Suppose that a variant of the process is being tested, giving rise to a small sample of product items whose variation is to be tested. The test statistic T in this instance could be set to be the sum of squares about the sample mean, divided by the nominal value for the variance (i.e. the value to be tested as holding). Then T has a chi-square distribution with n–1 degrees of freedom. For example if the sample size is 21, the acceptance region for T for a significance level of 5% is the interval 9.59 to 34.17.
See also
- Chi-squared test nomogram
- G-test
- Likelihood-ratio tests are approximately chi-square tests
- McNemar's test, related to a chi-square test
- Pearson's chi-square test for a more detailed explanation
- T Test
- Wald test can be evaluated against a chi-square distribution
External links
References
- Weisstein, Eric W., "Chi-Squared Test" from MathWorld.
- Corder, G.W., Foreman, D.I. (2009).Nonparametric Statistics for Non-Statisticians: A Step-by-Step Approach Wiley, ISBN 9780470454619
- Greenwood, P.E., Nikulin, M.S. (1996) A guide to chi-squared testing. Wiley, New York. ISBN 047155779X
- Nikulin, M.S. (1973) Chi-square test for normality. "International Vilnius Conference on Probability Theory and Mathematical Statistics", v.2, 119–122.
- Nikulin, M.S. (1973) Chi-square test for continuous distributions with scale and shift parameters, "Theory of Probability and its Applications", v.18, #3, 559–568.
Statistics |
|
Descriptive statistics |
|
Continuous data
|
Location
|
|
|
Dispersion
|
|
|
Shape
|
|
|
|
Count data
|
Index of dispersion
|
|
Summary tables
|
Grouped data · Frequency distribution · Contingency table
|
|
|
Pearson product-moment correlation · Rank correlation ( Spearman's rho, Kendall's tau) · Partial correlation · Scatter plot
|
|
Statistical graphics
|
Bar chart · Biplot · Box plot · Control chart · Correlogram · Forest plot · Histogram · Q-Q plot · Run chart · Scatter plot · Stemplot · Radar chart
|
|
|
|
Data collection |
|
Designing studies
|
Effect size · Standard error · Statistical power · Sample size determination
|
|
Survey methodology
|
|
|
|
Design of experiments · Randomized experiment · Random assignment · Replication · Blocking · Regression discontinuity · Optimal design
|
|
Uncontrolled studies
|
Natural experiment · Quasi-experiment · Observational study
|
|
|
|
Statistical inference |
|
|
Bayesian probability · Prior · Posterior · Credible interval · Bayes factor · Bayesian estimator · Maximum posterior estimator
|
|
Frequentist inference
|
|
|
Specific tests
|
Z-test (normal) · Student's t-test · F-test · Chi-square test · Pearson's chi-square · Wald test · Mann–Whitney U · Shapiro–Wilk · Signed-rank · Likelihood-ratio
|
|
|
Mean-unbiased · Median-unbiased · Maximum likelihood · Method of moments · Minimum distance · Maximum spacing · Density estimation
|
|
|
|
Correlation and regression analysis |
|
|
Pearson product-moment correlation · Partial correlation · Confounding variable · Coefficient of determination
|
|
|
Errors and residuals · Regression model validation · Mixed effects models · Simultaneous equations models
|
|
|
Simple linear regression · Ordinary least squares · General linear model · Bayesian regression
|
|
Non-standard predictors
|
Nonlinear regression · Nonparametric · Semiparametric · Isotonic · Robust
|
|
Generalized linear model
|
Exponential families · Logistic (Bernoulli) · Binomial · Poisson
|
|
Formal analyses
|
|
|
|
|
Data analyses and models for other specific data types |
|
|
Multivariate statistics
|
|
|
|
Decomposition · Trend estimation · Box–Jenkins · ARMA models · Spectral density estimation
|
|
Survival analysis
|
Survival function · Kaplan–Meier · Logrank test · Failure rate · Proportional hazards models · Accelerated failure time model
|
|
Categorical data
|
McNemar's test · Cohen's kappa
|
|
|
|
Applications |
|
Engineering statistics
|
Methods engineering · Probabilistic design · Process & Quality control · Reliability · System identification
|
|
Environmental statistics
|
|
|
Medical statistics
|
|
|
Social statistics
|
|
|
|
|
Category · Portal · Outline · Index |
|